package com.lxw.report.meta.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.lxw.report.meta.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 数据库
 * </p>
 *
 * @author lxw
 * @since 2022-04-25
 */
@TableName("dt_data_base")
@ApiModel(value = "DataBase对象", description = "数据库")
public class DataBase extends BaseEntity {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("数据源名称")
    private String name;

    @ApiModelProperty("连接池类型")
    private String poolType;

    @ApiModelProperty("数据库类型")
    private String type;

    @ApiModelProperty("数据源登录用户名")
    private String user;

    @ApiModelProperty("数据源登录密码")
    private String password;

    @ApiModelProperty("数据源主机地址")
    private String host;

    @ApiModelProperty("数据源端口号")
    private Integer port;

    @ApiModelProperty("数据源连接字符串(JDBC)")
    private String jdbcUrl;

    @ApiModelProperty("描述")
    private String description;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPoolType() {
        return poolType;
    }

    public void setPoolType(String poolType) {
        this.poolType = poolType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getJdbcUrl() {
        return jdbcUrl;
    }

    public void setJdbcUrl(String jdbcUrl) {
        this.jdbcUrl = jdbcUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
